*{
  margin: 0;
  padding: 0;
}
#home{
  background-color: #031537;
}

#home .has-header{
  top: 0;
}

#home ion-content{
  overflow:scroll;

}

/*头部搜索栏*/
#home .headerBar {
  background-color: transparent;
  position: fixed;
  top: 0;
  z-index: 2;
  display: inline-block;
  width: 100%;
  height: 35px;
}

#home #headerBar-bg{
  background-color: rgb(235, 235, 235);
  opacity: 0;
  height: 35px;
  position: absolute;
  width: 100%;
}

#home .headerBar-logo {
  position: absolute;
  margin: 0;
  padding: 0;
  width: 56px;
  height: 35px;
  display: inline-block;
}

#home .headerBar-logo i {
  display: inline-block;
  height:21px;
  width: 56px;
  background: url("../../img/common/spritescopy.png") no-repeat;
  background-position: -80px -105px;
  background-size: 200px 200px;
  margin-left: 7px;
  margin-top: 7px;
}

#home .headerBar-search {
  position:absolute;
  left: 66px;
  right: 40px;
  width: auto;
  height: 25px;
  margin-top: 5px;
  color: #ffffff;
  display: inline-block;
  background-color: #ffffff;
  border-radius: 15px;
}

#home .headerBar-search span{
  display: inline-block;
  height:20px;
  width: 20px;
  background: url("../../img/common/sprites.png") no-repeat;
  background-position: -60px -109px;
  background-size: 200px 200px;
  margin-left: 5px;
  margin-top: 3px;
}

#home .headerBar-search div{
  display:inline-block;
  height:100%;
  width: auto;
}
#home .headerBar-search div input{
  border: 0;
  display: inline-block;
  background: 0;
  font-size: 13px;
  line-height: 1.2em;
  height: 1.4em;
  width: 100%;
  vertical-align: middle;
  margin-top: -15px;
  color: #989191;
}

#home .headerBar-login {
  width: 30px;
  height:inherit;
  position: absolute;
  right: 7px;
  display: inline-block;
}

#home .headerBar-login span{
  margin-top: 7px;
  color:#FFB602;
  font-size: 15px;
  display: inline-block;
}

/*头滚动条*/
#home .headerSlider .swiper-container {
  height: 182px;
  width: 100%;
}

#home .headerSlider .swiper-container img {
  height: 100%;
  width: 100%;
}

/*功能导航*/
#home #nav{
  height:200px;
  width:100%;
  padding:0 3%;
  background-color:#FEF6E1;
  overflow:hidden;
  /*margin-top:3px;*/
  /*box-shadow:0 1px 1px #ebebeb;*/
}
#home #nav span{
  display:block;
  float:left;
  width:32%;
  height:60px;
  margin-top:20px;
}
#home #nav span img{
  display:block;
  width:40px;
  height:40px;
  margin:0px auto;
  padding:5px;
  border: 2px solid #fff;
  -moz-border-radius: 20px;
  -webkit-border-radius:20px;
  border-radius:25px;
  background-color:#031537;
}
#home #nav span h2{
  font-size:14px;
  font-weight:300;
  text-align:center;
  margin-top: 15px;
}

/*推荐部分*/
#home .dish{
  margin-top: 5px;
  width: 100%;
  height: auto;
  background-color: #FEF6E1;
  text-align:center;
}

#home .recommend{
  padding-top:8px;
  margin-bottom:8px;
}

#home .dish img{
  margin-bottom:8px;
}

/*标签部分*/
#home .label1{
  width: 40px;
  height:20px;
  text-align: center;
  margin: 10px;
  float: left;
  padding: 5px;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  background-color: #FFB602;
}

/*summer*/
#home .summer{
  background-color: #FEF6E1;
  clear:both;
  margin-bottom: 10px;
}
#home .summer span{
  text-align: center;
  padding-top: 8px;
  margin-bottom: 8px;
}
#home .summer img{
  width: 100%;
  height: 172px;
}

/*瀑布流*/
.container {
  width: 98%;
  margin: 0 auto;
}

.waterfall {
  width: 50%;
  -moz-column-count: 3;
  -webkit-column-count: 3;
  column-count: 3;
  -moz-column-width: 24em;
  -webkit-column-width: 24em;
  column-width: 24em;
  -moz-column-gap: 1em;
  -webkit-column-gap: 1em;
  column-gap: 1em;
}

.pin {
  padding: 1em;
  margin: 0 0.125em 1em;
  -moz-page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
  background: #FEF6E1;
  -moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24);
  -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24);
}
.pin img {
  width: 100%;
  padding-bottom: 1em;
  margin-bottom: 0.5em;
  border-bottom: 1px solid #cccccc;
}
/*回到头部滚动条*/
#home .back_top{
  width: 35px;
  height: 35px;
  position: fixed;
  bottom: 55px;
  right: 10px;
  background: url("../../img/home/scroll-to-top-icon.png") no-repeat;
  background-size: 35px 35px;
  opacity: 0;
  transition: all .3s ease 0s;
  -webkit-transition: all .3s ease 0s;
  z-index: 100;
}
